package manager.goods;

import common.db.*;
import common.main.*;

public class GoodsImgInfoBean extends MainBean
{
	public void funcExecute() throws Exception
	{
		String gcode = (String)inputTable.get("gcode");
		
		queryBuffer = new StringBuffer("");
		queryBuffer.append("SELECT ");
		queryBuffer.append("SEQ, GCODE_SEQ, IMG_PATH, "); 
		queryBuffer.append("IMG_SIZE, OR_N, SA_N, "); 
		queryBuffer.append("REG_ID, REG_DATE, REG_IP, "); 
		queryBuffer.append("UPD_ID, UPD_DATE, UPD_IP "); 
		queryBuffer.append("FROM GOODS_IMG "); 
		queryBuffer.append("WHERE GCODE_SEQ='"+gcode+"'");  

		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();
	}
}
